<template>
    <div>
        <h2>子组件</h2>
        <input type="text" :value="value" @input="$emit('input',$event.target.value)">
        <input type="text" :value="value2" @input="$emit('update:value2',$event.target.value)">
    </div>
</template>
<script>
export default {
    props:["value","value2"]
}
</script>
<style>
</style>